Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #122, #121 and #175 on Rails 4 branch #247

Merged
merged 4 commits into from
Jun 22, 2015

Conversation

codeodor
Copy link
Contributor

I wasn't sure whether #121 got closed because this fix wasn't desired for the Rails 4 branch, or just because it was so similar to #122 that it looked like a duplicate, so while I was fixing the issue brought up by @joshuapinter I thought I'd add the test for the Rails 4 branch as well.

@codeodor codeodor changed the title Fix for #121 and #175 on Rails 4 branch Fix for #122, #121 and #175 on Rails 4 branch Jun 21, 2015
@codeodor
Copy link
Contributor Author

For what it's worth, this test that's failing on travis fails before this change. If I git checkout HEAD~3 from where it's at now, and run against jruby, it results in the same failure.

Ruby 1.9's version of `Object.const_get` does not support namespaced constants, so this commit replaces it with `ActiveSupport`'s `#constantize` method.

The tests were failing running JRuby on 1.9 mode. CRuby was not failing because it is not tested against 1.9.
@codeodor
Copy link
Contributor Author

But I fixed it anyway. That last commit should do it.

@radar
Copy link
Collaborator

radar commented Jun 22, 2015

Thanks @codeodor!

radar added a commit that referenced this pull request Jun 22, 2015
Fix for #122, #121 and #175 on Rails 4 branch
@radar radar merged commit 857ed34 into rubysherpas:rails4 Jun 22, 2015
@codeodor
Copy link
Contributor Author

My pleasure! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants